package com.csc.mapper;

import com.csc.entity.Dormitory;
import java.util.List;

public interface DormitoryMapper {
    List<Dormitory> findAll();
    Dormitory findById(Long id);
    void insert(Dormitory dormitory);
    void update(Dormitory dormitory);
    void delete(Long id);
    List<Dormitory> findAvailable();
}